﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibraryDevlopLib
{
    public class ClassStr
    {

        /// <summary>
        /// 数组转成 hex 形式的字符串
        /// </summary>
        /// <param name="arry"></param>
        /// <returns></returns>
        public static string Array2_HexStringsForma( ref byte []arry)
        {
            string outda = string.Empty;
            int a = 0;
            for (a = 0; a < arry.Length; a++)
            {
                outda = outda + " " + arry[a].ToString("x2");
            }
            return outda;
        }
    }
}
